<div class="my-table">
  <nz-table #basicTable  [nzData]="data" [nzTotal]='page.total' [nzPageSize]='10' [nzPageIndex]="page.pageNo" [nzFrontPagination]='false' (nzPageIndexChange)="changePage($event,page)">
    <!--   -->
      <thead>
        <tr >
          <th  *ngFor="let item of titleData;let i = index;">{{item.name}}</th>
        </tr>
      </thead>
      <tbody>
        <tr *ngFor="let item of data" >
  
          <td *ngFor="let leb of titleData" >
            <div *ngIf="leb.key != 'cz' && leb.type != 'icon'">
              <div class="{{leb.class}}" >
                {{item[leb.key] | getListKeyType}}
              </div>
            </div>
            <div *ngIf="leb.key == 'cz'" nz-row>
              <div  *ngFor="let l of leb.labels" nz-col nzSpan="10" class="cz">
                <a *ngIf="l.type == 'gotoPage'">{{l.name }}</a>
                <a *ngIf="l.type == 'click'" (click)="onClick(l,item)" >{{l.name }}</a>
              </div>
                <!-- <a>取消</a> -->
            </div>
            <div *ngIf="leb.type == 'icon'" nz-row>
                <embed *ngIf="item[leb.key] == 'Y' || item[leb.key] == true" src="../../../assets/img/banks/this.svg" width="20px" type="image/svg+xml" />
            </div>
          </td>
        </tr>
      </tbody>
    </nz-table>
</div>